body{
    background-image: url("../images/blog.jpg");
    background-color: rgba(0,0,0,.5);
    background-attachment: fixed;
    background-size: cover;
}

.blog_content{
    width: 70%;
    float: left;
}

.blog_classify{
    width: 28%;
    float: right;
}

.blog_classify>ul>li{
    margin: 0 0 40px 0;
}

.blog_content ul li{
    display: block;
    position: relative;
    background: #fff;
    margin: 0 0 10px 0;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    border-radius: 25px;
    overflow: hidden;
}

.blog_content ul li:after{
    content: "";
    display: block;
    clear: both;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #EE2C2C;
    width: 0;
    -webkit-transition: width 0.6s;
    -moz-transition: width 0.6s;
    -ms-transition: width 0.6s;
    -o-transition: width 0.6s;
    transition: width 0.6s;
}

.blog_content ul li:hover:after{
    width: calc(100% + 40px);
}

.blog_content ul li img{
    display: block;
    float: left;
    width: auto;
    height: 150px;
    margin: 0 20px 0 0;
    max-width: 200px;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.blog_content ul li img:hover{
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
    height: 152px;
    max-width: 202px;
}

.blog_content ul li:before:hover{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}


.blog_content ul li h3{
    font-family: inherit;
    font-style: inherit;
    color: #444;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 7px 0;
}

.blog_content ul li h3>span{
    color: #2D93CA;
}

.blog_content ul li p{
    font-size: 14px;
    color: #777;
    overflow: hidden;
    line-height: 25px;
    display: -webkit-box;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.blog_content ul li>span{
    position: relative;
    top: 22px;
    color: rgba(0,0,0,.5);
}

.read_more{
    position: absolute;
    right: -1px;
    display: block;
    background: #3690cf;
    color: #fff;
    line-height: 30px;
    padding: 0 12px;
    border:1px solid #ffffff;
    border-right: none;
    border-radius: 2px 0 0 2px;
    cursor: pointer;
}

.blog_content ul li span i{
    margin: 0 5px 0 2px;
}

.blog_date{
    float: right;
    margin-right: 80px;
}

.blog_comment{
    margin-left: 15px;
}

.line{
    position: absolute;
    background: #c40000;
    top: 20px;
    left: -1px;
    width: 5px;
    height: 25px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.test{
    width: 60px;
    height: 30px;
    background-color: red;
    line-height: 30px;
    position: absolute;
    text-align: center;
    font-size: 16px;
}

.test2{
    width: 80px;
    height: 20px;
    background-color: red;
    line-height: 20px;
    position: absolute;
    text-align: center;
    font-size: 13px;
    transform: rotate(45deg);
    right: -20px;
    top: 9px;
    color: #fff;
}

.classify{
    display: block;
    background-color: #ffffff;
}

.classify li{
    display: block;
    position: relative;
    background-color: #ffffff;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eeeeee;
    counter-increment:nums;
}

.classify li:after{
    content: "";
    position: absolute;
    right: 0px;
    top: 0;
    display: block;
    width: 2px;
    background-color: #1E9FFF;
    height: 0;
    -webkit-transition: height .5s;
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    transition: height .5s;
}

.classify li:hover:after{
    height: calc(100% + 1px);
}

.classify li:hover{
    background-color: #f8f9f7;
}

.classify_title{
    display: block;
    color: #EE2C2C;
    font-size: 16px;
    line-height: 40px;
    padding-bottom: 5px;
    background-color: #ffffff;
    border-bottom: 1px solid #EE2C2C;
    text-align: center;
}

.classify li:last-child{
    border-bottom: none;
}

.classify li a{
    margin: 0 60px;
    color: #787977;
    font-size: 15px;
}

.blog_classify a:before{
    content: counter(nums,decimal);
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    position: absolute;
    left: 25px;
    top: 9px;
    border-radius: 100%;
    background-color: #edefee;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    font-family: SourceCodeProRegular,Menlo,Monaco,Consolas,"Courier New",monospace,'Helvetica Neue',Arial,sans-serif;
}

.blog_classify>ul>li>ul>li:first-child>a:before{
    margin-top: 10px;
    background-color: #e24d46;
    color: #ffffff;
    text-shadow: none;
}

.blog_classify>ul>li>ul>li:nth-child(2)>a:before{
    background-color: #2ea7e0;
    color: #ffffff;
    text-shadow: none;
}

.blog_classify>ul>li>ul>li:nth-child(3)>a:before{
    background-color: #6bc30d;
    color: #ffffff;
    text-shadow: none;
}

.blog_classify>ul>li>ul>li:first-child{
    padding-top: 10px;
}

.blog_classify>ul>li>ul>li:last-child{
    padding-bottom: 10px;
}

.hot_article{
    background-color: #ffffff;
}

.hot_article li{
    display: block;
    line-height: 38px;
    position: relative;
    counter-increment: nums;
    padding-left: 30px;
    overflow: hidden;
    word-wrap: normal!important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot_article li a{
    color: #787977;
    font-size: 13px;
    margin: 0 30px;
}

.hot_article li a:hover{
    color: #EE2C2C;
    text-decoration: underline;
}

.hot_tag{
    position: relative;
    overflow: hidden;
    height: 330px;
    background-color: #ffffff;
}

#tag_cloud_widget span{
    display: block;
    position: absolute;
    font-size: 14px;
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    top: 0px;
    left: 0px;
    padding: 3px 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    line-height: 15px;
    background: #999;
}

#tag_cloud_widget{
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin: 10px auto 10px;
}

#tag_cloud_widget span:nth-child(n) {
    white-space: nowrap;
    _white-space: normal;
    *white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tag_cloud_widget span:nth-child(2n) {
    background: #d1a601;
}

#tag_cloud_widget span:nth-child(3n) {
    background: #286c4a;
}

#tag_cloud_widget span:nth-child(5n) {
    background: #518ab2;
}

#tag_cloud_widget span:nth-child(4n) {
    background: #c91d13;
}
